<template>
	<view class="small-title">
		<a v-if="isNeed" class="small-need">*</a>
	{{content}}
	</view>
</template>

<script>
	/**
	 * author: 陈炎
	 * description: 用于显示各种小标题
	 * content表示小标题内容
	 */
	export default{
		name:'SmallTitle',
		props: {
			content: {
				type: String,
				default:''
			},
			isNeed: {
				type: Boolean,
				default:false
			},
		},
	}
</script>

<style>
	.small-title{
		color: #555555;
		margin: 40rpx 0 40rpx 50rpx;
		width: 700rpx;
	}
	.small-need{
		color: #ff0000;
	}
</style>
